package com.example.basic.dao;

import com.example.basic.domain.Task;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface TaskMapper {

    Task selectById(Long taskId);

    List<Task> selectAll();

    void insert(Task task);

    Integer update(Task task);

}
